﻿using System;
using System.Web;
using System.Web.Mvc;

namespace PetShop.MVCWeb.Views
{
    public partial class Site : System.Web.Mvc.ViewMasterPage
    {
        private const string HEADER_PREFIX = ".NET Pet Shop :: {0}";

        /// <summary>
        /// Create page header on Page PreRender event
        /// </summary>
        protected void Page_PreRender(object sender, EventArgs e)
        {
            //ltlHeader.Text = Page.Header.Title;
            Page.Header.Title = string.Format(HEADER_PREFIX, Page.Header.Title);
        }
        
    }
}
